package com.xy.modular.basics.entity.user;

import com.xy.framework.base.entity.Entity;

/**
 * <p>
 * 
 * </p>
 *
 * @author BCK
 * @since 2019-10-15
 */
public class UserDep extends Entity {

	private static final long serialVersionUID = 1L;

	private static final String USERID = "basics_user_dep.user_id";
	private static final String DEPID = "basics_user_dep.dep_id";

	private String userId;
	private String depId;
	private int type;

	private String depName;
	private String userName;

	public UserDep(String id, String userId, String depId, int type) {
		this.depId = depId;
		this.userId = userId;
		this.id = id;
		this.type = type;
	}

	public UserDep() {
		// TODO Auto-generated constructor stub
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getDepName() {
		return depName;
	}

	public void setDepName(String depName) {
		this.depName = depName;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getDepId() {
		return depId;
	}

	public void setDepId(String depId) {
		this.depId = depId;
	}

	public static final String USER_ID = "basics_user_dep.user_id";
	public static final String DEP_ID = "basics_user_dep.dep_id";

	@Override
	public String toString() {
		return "BasicsUserDep{" + "userId=" + userId + ", depId=" + depId + "}";
	}
}
